<template>
    <div class="silder-components">
        <div class="silder-nav"></div>
        <div class="silder-content">
            <silder-components-drag v-for="(item, index) in info_componet" :componetInfo="item" :key="index"></silder-components-drag>
        </div>
        <div class="silder-footer"></div>
    </div>
</template>
<script lang="ts">
import Vue from 'vue';
import Component from "vue-class-component";
import SilderComponentsDrag from './SilderComponentsDrag.vue'

@Component({
    components: { SilderComponentsDrag }
})
export default class SilderComponent extends Vue{
    info_componet = this.$store.state.BASEINFOCOMPONETS 
}
</script>

<style lang="less">
.silder-components {
    position: relative;
    width: 244px;
    flex-shrink: 0;
    color: #5b6b73;
    background: #fff;
    display: flex;
    flex-direction: column;
    font-size: 12px;
    box-shadow: 0 2px 30px 0 hsla(0,0%,84%,.5);
    z-index: 1;
    overflow: hidden;
    transition: all .2s ease-in-out;
    .silder-nav {
        height: 40px;
        background: #f2f2f3;
        display: flex;
        justify-content: center;
        overflow: hidden;
    }
    .silder-content {
        background: #fff;
        height: 100%;
    }
    .silder-footer {
        height: 40px;
        background: #fff;
        border-top: 1px solid #dedee4;
        display: flex;
    }
}
</style>


